<?php

class Post extends Item {
	
	public function getAuthor() {
		$userRepository = new UserRepository();
		return $userRepository->getOneByUid($this['fk_user_id']);
	}
}

?>